//
//  RCFMAppApi.h
//  FreshMember
//
//  Created by qyc on 2019/4/19.
//  Copyright © 2019年 qyc. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

// 消息枚举
typedef enum : NSInteger {
    HAAppApiWithMessageSuccess = 200, // 成功
} HAAppApiWithMessage;

static NSString * const RCAppApiWithScreenAdKey = @"RCAppApiWithScreenAdKey";

// 定义返回请求数据的block类型
typedef void (^AppApiSuccessHandler) (id _Nullable successHandler);
typedef void (^AppApiErrorHandler) (id _Nullable errorHandler);

@interface HAAppApi : NSObject

+ (HAAppApi *)sharedApi;

- (void)requestRiderUpVserionCompletionHandler:(AppApiSuccessHandler)completionHandler errorHandler:(AppApiErrorHandler)errorHandler;
@end

NS_ASSUME_NONNULL_END
